package com.sharecar.request;

import java.io.Serializable;

import com.android.sharecar.model.ReservationCycle;

/**
 * This class encapsulates the client's request to ReservationCycleService.
 * @author xinyan
 *
 */
public class ReservationCycleRequest extends Request implements Serializable {
	private static final long serialVersionUID = 9L;

	public static final int INSERT_A_CYCLE = 1;
	public static final int SELECT_A_CYCLE = 2;

	private ReservationCycle cycle;
	private int cycleId;

	public ReservationCycleRequest(int type) {
		this.requestType = type;
	}

	public ReservationCycle getCycle() {
		return cycle;
	}

	public void setCycle(ReservationCycle cycle) {
		this.cycle = cycle;
	}

	public int getCycleId() {
		return cycleId;
	}

	public void setCycleId(int cycleId) {
		this.cycleId = cycleId;
	}
}
